//-----------------------------------------------------------------------

// <copyright file="FieldLabelEventArgs.cs" company="Jamie Knight">

// Copyright (c) Jamie Knight. All rights reserved.

// </copyright>

//-----------------------------------------------------------------------

using DevKnightlie.WPF.AutoForm.FieldDefinitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace DevKnightlie.WPF.AutoForm
{
    /// <summary>
    /// Arguments class for field label events
    /// </summary>
    public class FieldLabelEventArgs
    {
        /// <summary>
        /// Field Label control
        /// </summary>
        public Control FieldLabel { get; set; }

        public BaseFieldDefinition FieldDefinition { get; set; }


        public FieldLabelEventArgs(Control fieldLabel, BaseFieldDefinition fieldDefinition)
        {
            FieldLabel = fieldLabel;
            FieldDefinition = fieldDefinition;
        }

    }
}
